home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4664 / 4664.xpi / chrome / twitterbar.jar / content / overlay.xul < prev    next >
Extensible Markup Language  |  2010-02-08  |  3KB  |  84 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://twitterbar/skin/twitter.css" type="text/css"?>
  3. <!DOCTYPE overlay SYSTEM "chrome://twitterbar/locale/overlay.dtd">
  4. <overlay
  5.     id="twitteroverlay"
  6.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.     <script type="application/x-javascript" src="chrome://twitterbar/content/oauth.js"/>
  8.     <script type="application/x-javascript" src="chrome://twitterbar/content/overlay.js"/>
  9.     <script type="application/x-javascript" src="chrome://twitterbar/content/shorteners.js" />
  10.     <script type="application/x-javascript" src="chrome://twitterbar/content/common.js" />
  11.     <script type="application/x-javascript">
  12.         <![CDATA[
  13.         
  14.         addEventListener("load", function () { TWITTERBAR.load(); }, false);
  15.         addEventListener("unload", function () { TWITTERBAR.unload(); }, false);
  16.         
  17.         ]]>
  18.     </script>
  19.  
  20.     <stringbundleset id="stringbundleset">
  21.         <stringbundle id="twitterbar-strings" src="chrome://twitterbar/locale/overlay.properties" />
  22.     </stringbundleset>
  23.     
  24.     <popupset id="mainPopupSet">
  25.         <popup id="twitterbarContextMenu">
  26.             <menuitem label="&twitter.options;" oncommand="TWITTERBAR.openOptions();" />
  27.         </popup>
  28.     </popupset>
  29.     
  30.     <toolbarpalette id="BrowserToolbarPalette">
  31.         <toolbarbutton
  32.             id="twitter-toolbar-button"
  33.             label="TwitterBar"
  34.             tooltiptext="&twitter.post;"
  35.             oncommand="TWITTERBAR.post()"
  36.             context="twitterbarContextMenu"
  37.             />
  38.         <toolbaritem id="twittercountcon">
  39.             <vbox>
  40.                 <spacer flex="1"/>
  41.                 <label id="twitter-toolbar-count" value="140" />
  42.                 <spacer flex="1"/>
  43.             </vbox>
  44.         </toolbaritem>
  45.     </toolbarpalette>
  46.  
  47.     <hbox id="twitterBox" insertbefore="urlbar-icons" onmouseover="TWITTERBAR.count();" onmouseout="TWITTERBAR.countClear();" class="textbox-input-box">
  48.         <hbox id="twitter-count-vbox">
  49.             <vbox>
  50.                 <spacer flex="1"/>
  51.                 <label style="font-size: 10px; color: green;" id="twitter-count" value="" hidden="true"/>
  52.                 <spacer flex="1"/>
  53.             </vbox>
  54.             <vbox id="twitter-oneriot-box">
  55.                 <spacer flex="1" />
  56.                 <image id="twitter-searchbutton"
  57.                     hidden="true"
  58.                     onclick="TWITTERBAR.search(event, 'addressBarIcon');"
  59.                     tooltiptext="&twitter.searchSocial;"
  60.                     src="chrome://twitterbar/skin/oneriot.ico"
  61.                     />
  62.                 <spacer flex="1" />
  63.             </vbox>
  64.         </hbox>
  65.         <vbox flex="1">
  66.             <spacer flex="1" />
  67.             <image id="twitter-statusbarbutton"
  68.                 onclick="TWITTERBAR.onButtonClick(event);"
  69.                 tooltiptext="&twitter.post;"
  70.                 src="chrome://twitterbar/skin/bird-16-full.png"
  71.                 context="twitterbarContextMenu"
  72.                 />
  73.             <spacer flex="1" />
  74.         </vbox>
  75.     </hbox>
  76.  
  77.     <textbox id="urlbar">
  78.         <hbox id="twitterBox" />
  79.     </textbox>
  80.  
  81.     <textbox id="urlbar-edit">
  82.         <hbox id="twitterBox" />
  83.     </textbox>
  84. </overlay>